<template>
    <!-- 父节点定义样式 -->
    <div :style="{width:body.w/100+'rem',height:body.h/100+'rem',position:'relative'}">
    <!-- 子节点绝对定位 -->
        <div 
        :style="{width:item.w/100+'rem',height:item.h/100+'rem',position:'absolute',left:item.x/100+'rem',top:item.y/100+'rem'}"
        v-for="(item,index) in body.items" :key="index" >
            <img v-lazy="item.img_url" width="100%">
        </div>
    </div>
</template>
<script>
export default {
    props:{
        body:{
            type:Object,
            default(){return {} }
        }
    }
}
</script>